//
// Created by liaoy on 2021/8/19.
//

#ifndef _SYSCALL_H
#define _SYSCALL_H

#include <stdint.h>
#include "em-vm.h"

enum
{
    TEST1 = 0,
    TEST2 = 1,
    STR_PRINT = 2,
    PTR_STR_PRINT = 3,
    INT_PRINT = 4,
};

reg_t syscall(uint16_t id, uint8_t *params);

#endif //_SYSCALL_H
